# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ipsorcery/ipsorcery-1.6.ebuild,v 1.10 2004/07/15 02:54:17 agriffis Exp $

IUSE=""

DESCRIPTION="This was initially written to deal with buffer overflow attempts back when sshd had buffer overflows, but it still works today to create /etc/hosts.allow ."
SRC_URI="http://www.pkts.ca/${P}.tar.gz"
HOMEPAGE="http://www.pkts.ca/ssh-faker.shtml"
KEYWORDS="~x86"
LICENSE="GPL-2"
SLOT="0"

DEPEND=""

src_compile() {
	einfo "nothing to compile."
}
src_install() {
	dobin ${S}/${PN}
	dodoc README
	dodir /etc
	echo sshd : ALL : twist /usr/bin/ssh-faker %a >> ${D}/etc/hosts.deny
	ewarn "Change the default password in /usr/bin/${PN}"
	einfo "and restart sshd to see ${PN} in action."
}
